package cn.echo.ecc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayApplyDto {

    @NotEmpty(message = "订单编号不能为空")
    private String orderNo;

    @NotNull(message = "支付方式不能为空")
    private Integer payType;

    @NotEmpty(message = "同步回调地址不能为空")
    private String callUrl;
}
